# def greet_user():
#     print("Hello")
# greet_user()

# def greet_user(username):
#     print("Hello," + username.title() + "!")
# greet_user('jesse')

# def describe_pet(animal_type,pet_name):
#     print("I have a "+ animal_type + ".")
#     print("My"+ animal_type + "'s name is " + pet_name.title() + ".")
# describe_pet('hamster','harry')
# describe_pet('dog','willie')

# def describe_pet(animal_type,pet_name):
#     print("I have a " + animal_type + '.')
#     print("My"+ animal_type + "'s name is " + pet_name.title() + ".")
# describe_pet('harry','hamster')

# def describe_pet(pet_name,animal_type='dog'):
#     describe_pet('willie')
#     describe_pet(pet_name='willie')
#
#     describe_pet('harry','hamster')
#     describe_pet(pet_name='harry',animal_type='hamster')
#     describe_pet(animal_type='hamster',pet_name='harry')


# def get_formatted_name(first_name, last_name):
#     full_name = first_name + '' + last_name
#     return full_name.title()
#
#
# musician = get_formatted_name('jimi','hendrix')
# print(musician)

# def get_formatted_name(first_name, last_name, middle_name=''):
#     if middle_name:
#         full_name = first_name + '' + middle_name + '' + last_name
#     else:
#         full_name = first_name + '' + last_name
#     return full_name.title()
#
#
# musician = get_formatted_name('jimi', 'hendrix')
# print(musician)
# #
# musician = get_formatted_name('john', 'hooker', 'lee')
# print(musician)


# def build_person(first_name,last_name):
#     person = {'first':first_name,'last':last_name}
#     return person
# musician = build_person('jimi','hendrix')
# print(musician)

# def build_person(first_name, last_name, age=""):
#     person = {'first':first_name,'last':last_name}
#     if age:
#         person['age'] = age
#     return person
# musician = build_person('jimi','hendrix',age=27)
# print(musician)

